package com.apinji.common.data;

/**
 * 银联交易类型
 *
 * Created by 轩辕夏夏 on 2017/7/3.
 */
public enum ConsumeTypeEnum {
    PAYMENT_TYPE(1, "支付"),

    REFUND_TYPE(2, "退款"),

    REVOKE_TYPE(3, "撤销");

    private int code;
    private String name;

    ConsumeTypeEnum(int code, String name){
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
